﻿{extend name="common/base"}
{block name="title"}商品分类页{/block}

<body>

{block name="content"}
	<!-- categories -->
	<div class="categories segments-page">
		<div class="container">
			<div class="pages-title">
				<h3>商品分类</h3>
			</div>
			<ul class="collapsible" data-collapsible="accordion">

				{foreach name="list" id="fo"}
				<li>
					<div class="collapsible-header bor-rad text-bold">
						<i class="fa fa-cubes"></i>{$fo.name}
					</div>
					<div class="collapsible-body">
						<ul>
							{if condition="isset($fo['son'])"}
							{foreach name="fo.son" id="v"}
							<li><a href="{:Url('product/product')}?fenlei_id={$v.id}">{$v.name}</a></li>
							{/foreach}
							{/if}
						</ul>
					</div>
				</li>
				{/foreach}

			</ul>
		</div>
	</div>
	<!-- end categories -->
{/block}
